package com.jmeurope.dao;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * <p>
 * Description:  baseDao 接口
 * </p>
 *
 * @author 王威    Email:leo_java@163.com
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * Aug 18, 2011 10:44:04 PM         王威     3.0         To create
 * </p>
 *
 * @since 
 * @see
 */
public interface BaseDao<T extends Serializable> {
    //待开发
	Integer insert(T entity)throws Exception;
	void update(T entity)throws Exception;
	void delete(Integer id)throws Exception;
	T find(Integer id)throws Exception;
	List<T> findAll()throws Exception;
}
